package com.xingda.packing.dmds.domain;

import lombok.Data;

@Data
public class PackFloorSolderWheelNumDemand {

    private PackDemandRange floor1SolderWheelNum;

    private PackDemandRange floor2SolderWheelNum;

    private PackDemandRange floor3SolderWheelNum;

    private PackDemandRange floor4SolderWheelNum;

    private PackDemandRange floor5SolderWheelNum;

    private PackDemandRange floor6SolderWheelNum;

    public PackDemandRange getFloorSolderWheelNum(int floorNum) {
        if (floorNum == 1) {
            return floor1SolderWheelNum;
        } else if (floorNum == 2) {
            return floor2SolderWheelNum;
        } else if (floorNum == 3) {
            return floor3SolderWheelNum;
        } else if (floorNum == 4) {
            return floor4SolderWheelNum;
        } else if (floorNum == 5) {
            return floor5SolderWheelNum;
        } else if (floorNum == 6) {
            return floor6SolderWheelNum;
        }
        return null;
    }
}
